//
//  HeaderTableViewCell.m
//  ShouYi
//
//  Created by yurui on 16/2/19.
//  Copyright © 2016年 yurui. All rights reserved.
//

#import "HeaderTableViewCell.h"

@implementation HeaderTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.groundView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, kWidth, 80)];
        [self.contentView addSubview:_groundView];
        
        self.userImageV = [[UIImageView alloc]initWithFrame:CGRectMake(20, 10, 60, 60)];
        self.userImageV.layer.masksToBounds = YES;
        self.userImageV.layer.cornerRadius = 35;
        self.userImageV.backgroundColor = [UIColor yellowColor];
        [self.groundView addSubview:_userImageV];
        //
        self.loginStyle = [[UILabel alloc]initWithFrame:CGRectMake(90, 30, 100, 20)];
        self.loginStyle.backgroundColor = [UIColor yellowColor];
        [self.groundView addSubview:_loginStyle];
        //
        self.goImage = [[UIImageView alloc]initWithFrame:CGRectMake(kWidth - 25, 32.5, 10, 15)];
        [self.groundView addSubview:_goImage];
    }
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
